package com.imooc.common.enums;

import io.swagger.annotations.ApiModel;

/**
 * @ClassName: Sex
 * @description: 性别枚举
 * @author: limx
 * @create: 2019-12-21 15:24
 **/
@ApiModel(value = "性别 枚举类")
public enum  Sex {

    woman(0,"女"),
    man(1,"男"),
    secret(2,"保密");

    public final Integer type;
    private final String value;

    Sex(Integer type,String value){
        this.type = type;
        this.value = value;
    }

}
